home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / CardMover 1.1.cpt / CardMover 1.1 / card_3023.txt < prev    next >
Text File  |  1989-02-26  |  5KB  |  211 lines

  1. -- card: 3023 from stack: in.1
  2. -- bmap block id: 5435
  3. -- flags: 4000
  4. -- background id: 2632
  5. -- name: Title card
  6. ----- HyperTalk script -----
  7. on closeCard
  8.   hide card field details
  9.   pass closeCard
  10. end closeCard
  11.  
  12.  
  13. -- part 1 (button)
  14. -- low flags: 00
  15. -- high flags: A000
  16. -- rect: left=227 top=36 right=82 bottom=262
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 1020 / 1020
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: Info
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   if visible of card field details is true then
  28.     hide card field details
  29.     play "boing" tempo 1000 "47 51 53 49 45"
  30.   else
  31.     show card field details
  32.     play "boing" tempo 1000 "51 49 47 45 49 53"
  33.     talk "Here's some info about, this stack.",165,110
  34.   end if
  35. end mouseUp
  36.  
  37.  
  38. -- part 2 (field)
  39. -- low flags: 81
  40. -- high flags: 2002
  41. -- rect: left=53 top=147 right=331 bottom=451
  42. -- title width / last selected line: 0
  43. -- icon id / first selected line: 0 / 0
  44. -- text alignment: 1
  45. -- font id: 0
  46. -- text size: 12
  47. -- style flags: 8192
  48. -- line height: 16
  49. -- part name: Details
  50. ----- HyperTalk script -----
  51. on mouseUp
  52.   hide the target
  53.   play "boing" tempo 1000 "47 51 53 49 45"
  54. end mouseUp
  55.  
  56.  
  57. -- part 3 (button)
  58. -- low flags: 00
  59. -- high flags: A003
  60. -- rect: left=292 top=27 right=74 bottom=507
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 1
  64. -- font id: 0
  65. -- text size: 12
  66. -- style flags: 0
  67. -- line height: 16
  68. -- part name: CardMover Demo
  69. ----- HyperTalk script -----
  70. on mouseUp
  71.   show card window at 0,300
  72.   talk "Now you can see the tpath, name.",165,110
  73.   wait 3 secs
  74.   talk "And you can move the wyndohh around!",165,110
  75.   hide menuBar
  76.   show card window at 300,300
  77.   play harpsichord 100
  78.   show card window at 275,275
  79.   play harpsichord 100
  80.   show card window at 250,250
  81.   play harpsichord 100
  82.   show card window at 225,225
  83.   play harpsichord 100
  84.   show card window at 200,200
  85.   play harpsichord 100
  86.   show card window at 175,175
  87.   play harpsichord 100
  88.   show card window at 150,150
  89.   play harpsichord 100
  90.   show card window at 125,125
  91.   play harpsichord 100
  92.   show card window at 100,100
  93.   play harpsichord 100
  94.   show card window at 75,75
  95.   play harpsichord 100
  96.   show card window at 50,50
  97.   play harpsichord 100
  98.   show card window at 25,25
  99.   play harpsichord 100
  100.   show card window at 0,0
  101.   play harpsichord 100
  102.   show card window at -25,-25
  103.   play harpsichord 100
  104.   show card window at -50,-50
  105.   wait 1 secs
  106.   play "boing" tempo 1000 "90 90"
  107.   show card window at 0,0
  108.   show menuBar
  109. end mouseUp
  110.  
  111.  
  112.  
  113. -- part 5 (button)
  114. -- low flags: 00
  115. -- high flags: 2000
  116. -- rect: left=5 top=92 right=125 bottom=344
  117. -- title width / last selected line: 0
  118. -- icon id / first selected line: 0 / 0
  119. -- text alignment: 1
  120. -- font id: 0
  121. -- text size: 12
  122. -- style flags: 0
  123. -- line height: 16
  124. -- part name: New Button
  125. ----- HyperTalk script -----
  126. on mouseUp
  127.   get loc of card window
  128.   if it is "0,0" then
  129.     play boing
  130.     put "   The window is already reset!"
  131.     talk "This button only resets the wyndoah.",165,110
  132.     wait 2 secs
  133.     hide message
  134.   else
  135.     show card window at 0,0
  136.     play "boing" tempo 1000 "90 90"
  137.     show menuBar
  138.   end if
  139. end mouseUp
  140.  
  141.  
  142. -- part 6 (button)
  143. -- low flags: 00
  144. -- high flags: A000
  145. -- rect: left=438 top=85 right=130 bottom=488
  146. -- title width / last selected line: 0
  147. -- icon id / first selected line: 26425 / 26425
  148. -- text alignment: 1
  149. -- font id: 0
  150. -- text size: 12
  151. -- style flags: 0
  152. -- line height: 16
  153. -- part name: Continue
  154. ----- HyperTalk script -----
  155. on mouseUp
  156.   visual dissolve to inverse
  157.   visual dissolve
  158.   go next
  159. end mouseUp
  160.  
  161.  
  162. -- part 14 (button)
  163. -- low flags: 00
  164. -- high flags: 2000
  165. -- rect: left=16 top=66 right=91 bottom=166
  166. -- title width / last selected line: 0
  167. -- icon id / first selected line: 0 / 0
  168. -- text alignment: 1
  169. -- font id: 0
  170. -- text size: 12
  171. -- style flags: 0
  172. -- line height: 16
  173. -- part name: New Button
  174. ----- HyperTalk script -----
  175. on mouseUp
  176.   if visible of card field details is true then
  177.     hide card field details
  178.     play "boing" tempo 1000 "47 51 53 49 45"
  179.   else
  180.     show card field details
  181.     play "boing" tempo 1000 "51 49 47 45 49 53"
  182.     talk "Here's some info about, this stack.",165,110
  183.   end if
  184. end mouseUp
  185.  
  186.  
  187. -- part 22 (field)
  188. -- low flags: 01
  189. -- high flags: 0001
  190. -- rect: left=66 top=133 right=147 bottom=437
  191. -- title width / last selected line: 0
  192. -- icon id / first selected line: 0 / 0
  193. -- text alignment: 0
  194. -- font id: 3
  195. -- text size: 9
  196. -- style flags: 0
  197. -- line height: 12
  198. -- part name: 
  199.  
  200.  
  201. -- part contents for card part 2
  202. ----- text -----
  203. On the regular screen that comes with the Mac Plus & SE, it‚Äôs not obvious that HyperCard is contained within a movable window. The CardMover stack was created to demonstrate this, and to make it easy to use HyperCard with MultiFinder on the smaller screens
  204. (providing you have at least 2 megabytes of memory).
  205. ∞<>•<>∞<>•<>∞<>•<>∞
  206. When you try the CardMover Demo, you‚Äôll notice that the name of the HyperCard window is the pathname for this stack. This
  207. ‚Äúpathname‚Äù is used to tell your Mac where to find the stack.  After you try the CardMover Demo, click ‚ÄúContinue‚Äù and you‚Äôll find several buttons that‚Äôre more useful than the demo.
  208.  
  209. -- part contents for card part 22
  210. ----- text -----
  211. This stack will make use of MacinTalk, if you have a copy in your System Folder.